import http from "@/utils/http.js";

export function getAllCourses() {
    return http({
        method:"GET",
        url:"/courses",
    })
}

export function getAllCategory() {
    return http({
        method:"GET",
        url:"/courses/getAllCategory",
    })
}